package com.ruoyi.zhjd.exp.modules.laboratorysofteningpoint.controller;


import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.Map;

import com.ruoyi.common.core.domain.R;
import com.ruoyi.zhjd.exp.modules.laboratorysofteningpoint.dto.LaboratorySofteningPointDto;
import com.ruoyi.zhjd.exp.modules.laboratorysofteningpoint.service.LaboratorySofteningPointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @ClassName: ExpSofteningPointController
 * @Description: 软化点控制器
 * @author linhuawei
 * @since 2021-04-19
 */
@RestController
@RequestMapping("/api/softeningpoint")
public class LaboratorySofteningPointController  {

    @Autowired
    private LaboratorySofteningPointService softeningPointService;

    /**
     * @Title: page
     * @Description: 获取软化点分页列表
     * @param params 查询条件
     * @return Result 软化点分页列表
     */
	@GetMapping("page")
	public R<IPage<LaboratorySofteningPointDto>> page(@RequestParam Map<String, Object> params){
	    IPage<LaboratorySofteningPointDto> page = softeningPointService.page(params);
		return R.ok(page);
	}
}
